package com.doubi.model.sys;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 后台角色权限关联表
 *
 * @author MrDoubi
 * @since 2019-10-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TSysRolePermission extends Model<TSysRolePermission> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }


    @TableField("sys_role_oid")
    private String sysRoleOid;


    @TableField("sys_permission_oid")
    private String sysPermissionOid;


}